/* 整体布局 - 深色主题适配 */
.post-info-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(40, 40, 40, 0.8);
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #444;
}

/* 标题样式 */
.post-info-title {
  text-align: center;
  color: #fff;
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 作者信息区域 */
.post-author-box {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #444;
}

.post-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 1px solid #1890ff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.post-username {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin: 0;
}

/* 帖子内容区域 */
.post-box {
  margin-bottom: 30px;
  padding: 20px;
  background-color: rgba(60, 60, 60, 0.6);
  border-radius: 6px;
  text-align: left;
}

.post-box h1 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 10px;
}

.post-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #ddd;
  margin: 0;
}

.post-meta {
  text-align: center;
  color: #aaa !important;
  margin: 1em 0;
}

.post-meta span {
  margin-right: 0.5em;
}

/* 评论区 */
.post-comment {
  padding: 20px;
  background-color: rgba(40, 40, 40, 0.8);
  border-radius: 6px;
  border: 1px solid #444;
}

.post-comment-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #444;
}

.comment-count {
  font-size: 16px;
  color: #aaa;
  font-weight: normal;
}

/* 评论列表 */
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.comment-item {
  padding: 15px;
  background-color: rgba(60, 60, 60, 0.6);
  border-radius: 6px;
  position: relative;
  transition: all 0.3s;
}

.comment-item:hover {
  background-color: rgba(70, 70, 70, 0.8);
  transform: translateX(2px);
}

.comment-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #1890ff;
  border-radius: 3px 0 0 3px;
}

.comment-author {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #1890ff;
}

.comment-username {
  font-weight: 500;
  color: #fff;
  margin-right: auto;
}

.comment-time {
  font-size: 12px;
  color: #aaa;
}

.comment-content {
  margin: 0;
  padding-left: 46px;
  color: #ddd;
  line-height: 1.5;
}

.no-comment {
  text-align: center;
  color: #777;
  padding: 20px 0;
  font-style: italic;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .post-info-container {
    padding: 15px;
    margin: 0 10px;
  }

  .comment-input {
    flex-direction: column;
  }

  .comment-input .ant-btn {
    width: 100%;
  }
}
